-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Make citest-jasmine pass locally #1211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- see http://codepen.io/etpinard/pen/ZBabVW for explanation - this removes the 'gd.emit is not a function' failures on 'npm run citest-jasmine'
- in update menu cases
@@ -45,11 +40,11 @@ describe('Plotly.downloadImage', function() { | |||
|
|||
it('should create link, remove link, accept options', function(done) { | |||
downloadTest(gd, 'jpeg', done); | |||
}); | |||
}, LONG_TIMEOUT_INTERVAL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See jasmine/jasmine@68ba5b6 for example.
@@ -749,7 +749,7 @@ describe('hover on fill', function() { | |||
}).then(function() { | |||
return assertLabelsCorrect([237, 218], [266.75, 265], 'trace 1'); | |||
}).then(function() { | |||
return assertLabelsCorrect([237, 251], [247.7, 254], 'trace 0'); | |||
return assertLabelsCorrect([237, 240], [247.7, 254], 'trace 0'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @alexcjohnson these cases ⬆️ were tuned for FF on CI and Chrome locally. Now, they work locally in FF and Chrome as well as FF on CI.
Note that |
This all works except for one test:
That's my fault. Not clear why it's failing, but of course 569 is the one line out of many that I'm responsible for: |
For reference: conclusion after talking with @etpinard: change the |
resolves #666 (hopefully)
How good does this
feel?
cc @rreusser @n-riesco @alexcjohnson @monfera